﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta name="robots" content="noindex, nofollow" />
    <title>医疗管理登录系统</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <link href="~/h2jmd6.axshare.cn/resources/css/jquery-ui-themes.css" rel="stylesheet" />
    <link href="~/h2jmd6.axshare.cn/resources/css/axure_rp_page.css" rel="stylesheet" />
    <link href="~/h2jmd6.axshare.cn/data/styles.css" rel="stylesheet" />
    <link href="~/h2jmd6.axshare.cn/files/styles.css" rel="stylesheet" />



    <script src="~/h2jmd6.axshare.cn/resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="~/h2jmd6.axshare.cn/resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="~/h2jmd6.axshare.cn/resources/scripts/prototypePre.js"></script>
    <script src="~/h2jmd6.axshare.cn/data/document.js"></script>
    <script src="~/h2jmd6.axshare.cn/resources/scripts/prototypePost.js"></script>
    <script src="~/h2jmd6.axshare.cn/files/data.js"></script>
    <script src="~/vue/vue.min.js"></script>
    <script src="~/vue/axios.min.js"></script>
    <script src="~/vue/qs.min.js"></script>
</head>
<body>
    <div id="base">

        <!-- Unnamed (Image) -->
        <div id="u248" class="ax_default _图片_">
            <img id="u248_img" class="img " src="~/h2jmd6.axshare.cn/gsc/u248.png" />
        </div>

        <!-- Unnamed (Rectangle) -->
        <div id="u249" class="ax_default box_1">
            <div id="u249_div" class=""></div>
        </div>

        <!-- Unnamed (Dynamic Panel) -->
        <div id="u250" class="ax_default">
            <div id="u250_state0" class="panel_state" data-label="State1" style="">
                <div id="u250_state0_content" class="panel_state_content">

                    <!-- Unnamed (Rectangle) -->
                    <div id="u251" class="ax_default box_1">
                        <div id="u251_div" class=""></div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u252" class="ax_default box_1">
                        <div id="u252_div" class=""></div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u253" class="ax_default box_1">
                        <div id="u253_div" class=""></div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u254" class="ax_default box_1">
                        <div id="u254_div" class="" position="absolute"></div>
                        <div id="u254_text" class="text " style="margin-left: -135px;" v-on:click="login">
                            <p><span>登陆</span></p>
                        </div>
                    </div>

                    <!-- Unnamed (SVG) -->
                    <div id="u255" class="ax_default _图片_">
                        <img id="u255_img" class="img " src="~/h2jmd6.axshare.cn/gsc/u64.svg" />
                    </div>

                    <!-- Unnamed (SVG) -->
                    <div id="u256" class="ax_default _图片_">
                        <img id="u256_img" class="img " src="~/h2jmd6.axshare.cn/gsc/u65.svg" />
                    </div>

                    <!-- 用户名 (Text Field) -->
                    <div id="u257" class="ax_default text_field" data-label="用户名">
                        <input id="u257_input" type="text" value="" v-model="name" />
                    </div>

                    <!-- 密码 (Text Field) -->
                    <div id="u258" class="ax_default text_field" data-label="密码">
                        <input id="u258_input" type="password" value="" v-model="pwd" />
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u259" class="ax_default label">
                        <div id="u259_div" class=""></div>
                        <div id="u259_text" class="text " style="margin-left: -135px">
                            <p><span>忘记密码</span></p>
                        </div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u260" class="ax_default label">
                        <div id="u260_div" class=""></div>
                        <div id="u260_text" class="text ">
                            <p><span> </span></p><p><span> </span></p>
                        </div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u264" class="ax_default _一级标题">
                        <div id="u264_div" class=""></div>
                        <div id="u264_text" class="text " style="margin-left: -90px">
                            <p><span>医疗管理系统</span></p>
                        </div>
                    </div>
                </div>
            </div>



            <div id="u250_state1" class="panel_state" data-label="State2" style="visibility: hidden;">
                <div id="u250_state1_content" class="panel_state_content">

                    <!-- Unnamed (Rectangle) -->
                    <div id="u265" class="ax_default box_1">
                        <div id="u265_div" class=""></div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u266" class="ax_default box_1">
                        <div id="u266_div" class=""></div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u267" class="ax_default box_1">
                        <div id="u267_div" class=""></div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u268" class="ax_default box_1">
                        <div id="u268_div" class=""></div>
                        <div id="u268_text" class="text ">
                            <p><span>确定</span></p>
                        </div>
                    </div>

                    <!-- Unnamed (SVG) -->
                    <div id="u269" class="ax_default _图片_">
                        <img id="u269_img" class="img " src="~/h2jmd6.axshare.cn/gsc/u65.svg" />
                    </div>

                    <!-- 忘用户名 (Text Field) -->
                    <div id="u270" class="ax_default text_field" data-label="忘用户名">
                        <input id="u270_input" type="text" value="" />
                    </div>

                    <!-- 验证码 (Text Field) -->
                    <div id="u271" class="ax_default text_field" data-label="验证码">
                        <input id="u271_input" type="password" value="" />
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u272" class="ax_default label">
                        <div id="u272_div" class=""></div>
                        <div id="u272_text" class="text ">
                            <p><span></span></p><p><span> </span></p>
                        </div>
                    </div>

                    <!-- 正确验证码 (Rectangle) -->
                    <div id="u273" class="ax_default label ax_default_hidden" data-label="正确验证码" style="display:none; visibility: hidden">
                        <div id="u273_div" class=""></div>
                        <div id="u273_text" class="text ">
                            <p><span>验证码不正确(请输入正确的验证码!)</span></p>
                        </div>
                    </div>

                    <!-- 获取验证码 (Rectangle) -->
                    <div id="u274" class="ax_default box_1" data-label="获取验证码">
                        <div id="u274_div" class=""></div>
                        <div id="u274_text" class="text ">
                            <p><span>获取验证码</span></p>
                        </div>
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u275" class="ax_default box_1">
                        <div id="u275_div" class=""></div>
                    </div>

                    <!-- 忘密码 (Text Field) -->
                    <div id="u276" class="ax_default text_field" data-label="忘密码">
                        <input id="u276_input" type="text" value="" />
                    </div>

                    <!-- Unnamed (SVG) -->
                    <div id="u277" class="ax_default _图片_">
                        <img id="u277_img" class="img " src="~/h2jmd6.axshare.cn/gsc/u64.svg" />
                    </div>

                    <!-- Unnamed (SVG) -->
                    <div id="u278" class="ax_default _图片_">
                        <img id="u278_img" class="img " src="~/h2jmd6.axshare.cn/gsc/u85.svg" />
                    </div>

                    <!-- Unnamed (Image) -->
                    <div id="u279" class="ax_default _图片_">
                        <img id="u279_img" class="img " src="~/h2jmd6.axshare.cn/gsc/u224.png" />
                    </div>

                    <!-- Unnamed (Rectangle) -->
                    <div id="u280" class="ax_default _一级标题">
                        <div id="u280_div" class=""></div>
                        <div id="u280_text" class="text ">
                            <p><span>医疗管理系统</span></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>


        <!-- bian (Dynamic Panel) -->
        <div id="u281" class="ax_default" data-label="bian">
            <div id="u281_state0" class="panel_state" data-label="State1" style="">
                <div id="u281_state0_content" class="panel_state_content">
                </div>
            </div>
            <div id="u281_state1" class="panel_state" data-label="State2" style="visibility: hidden;">
                <div id="u281_state1_content" class="panel_state_content">
                </div>
            </div>
        </div>
    </div>
</body>
</html>

<script>
    new Vue({
        el: '#base',
        data() {
            return {
                name: "",
                pwd: ""
            }
        },
        methods: {
            login() {
                if (this.name.length || this.length) {
                    axios
                        .get("/Login/ListLogin", { params: { name: this.name, pwd: this.pwd } })
                        .then(response => {
                            console.log(response.data);
                            if (response.data != null) {
                                alert("登录成功");
                            } else {
                                location.href = '/HomePage/HomePagesssss';
                            }
                        })
                        .catch(function (error) {
                            console.log(error);
                        })
                } else {
                    alert("!");
                }
            }
        }
    });
</script>
